package com.ruoyi.web.controller.system;

import com.ruoyi.common.core.controller.BaseController;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * VivoPageController -
 * Created by Jack on 2025/7/29.
 * Description: 返回VIVO广告搭建相关页面
 */

@Controller
@RequestMapping("/vivo/page")
public class VivoPageController extends BaseController {
    private String prefix = "vivo";

    @RequiresPermissions("system:vivoBatch:view")
    @GetMapping("/cp")
    public String cp()
    {
        return prefix + "/cpBatchAds";
    }

    @RequiresPermissions("system:vivoBatch:view")
    @GetMapping("cust")
    public String cust()
    {
        return prefix + "/custBatchAds";
    }
}
